package com.loser.excel.constant;

import lombok.Getter;

@Getter
public enum ExportStatusEnum {

    LOADING(1, "loading", "导出中"),
    FINISH(2, "finish", "完成"),
    FAILURE(3, "failure", "失败"),
    DELETED(4, "deleted", "已删除"),
    USER_STOP(5, "stop", "用户终止任务");

    private final Integer id;
    private final String status;
    private final String desc;

    ExportStatusEnum(Integer id, String status, String desc) {
        this.id = id;
        this.status = status;
        this.desc = desc;
    }
}
